import 'reflect-metadata'

const RR=Reflect as any
@RR.metadata('class','value-metadataValue')
class Animal{
    @RR.metadata('class property','type-metadata')
    static type='动物'
    @RR.metadata('proto method','eat-metadata')
    eat(){

    }

}
console.log(35,RR.metadata);

console.log(1,RR.getMetadata('class',Animal));
console.log(2,RR.getMetadata('class property',Animal,'type'));
console.log(3,RR.getMetadata('proto method',Animal.prototype,'eat'));
